﻿/*********************************************************************
 *
 *                             NOTICE
 *               COPYRIGHT (c) 2012 Panoscopix Software, Inc.
 *                UNPUBLISHED - ALL RIGHTS RESERVED
 * 
 *      This program is confidential, proprietary, and a trade
 *   secret of Panoscopix Software, Inc. The receipt or possession of
 *     this program does not convey any rights to reproduce or
 *      disclose its contents, or to manufacture, use, or sell
 *       anything that it may describe, in whole or in part, 
 *   without the specific written consent of Panoscopix Software, Inc.
 *
 * Test Case for that groups all of the individual test cases.
 * 
 *******************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileSystem.Test.TestCases
{
    class TestAll : TestCase
    {
        private int index;
	    private TestCase[] item = {
			    new TestRootLsAll(),
			    new TestRootTouch(),
			    };
	
	    public TestAll() {
		    index = 0;
	    }
	
	    public String getLine() {
		    if (index >= item.Length) return null;
		    while (index < item.Length) {
			    String line = item[index].getLine();
			    if (null != line) return line;
			    index++;
		    }
		    return null;
	    }
	
	    public bool evalResponseToPreviousLine(String response) {
		    return item[index].evalResponseToPreviousLine(response);
	    }
    }
}
